package com.wzx.ptplatform.dao;

import com.wzx.ptplatform.domain.PartTimeMessage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 紫煦桉
 */
@Repository
public interface PartTimeMessageDao extends BaseDao<PartTimeMessage, Long> {

    /**
     * findByCompanyIdAndPostStatus
     *
     * @param id
     * @param postStatus
     * @return
     */
    List<PartTimeMessage> findByCompanyIdAndPostStatus(Long id, String postStatus);

    /**
     * findByPostStatus
     *
     * @param postStatus
     * @return
     */
    List<PartTimeMessage> findByPostStatus(String postStatus);
}
